package com.itheima.order.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_user")
public class User {
    @TableId
    private Long id;
    private String username;
    private String password;
    private String phone;
    private String email;
    private Date created;
    private Date updated;
    @TableField("source_type")
    private String sourceType;
    @TableField("nick_name")
    private String nickName;
    private String name;
    private String status;
    @TableField("head_pic")
    private String headPic;
    private String qq;
    @TableField("account_balance")
    private Double accountBalance;
    @TableField("is_mobile_check")
    private String isMobileCheck;
    @TableField("is_email_check")
    private String isEmailCheck;
    private String sex;
    @TableField("user_level")
    private Long userLevel;
    private Long points;
    @TableField("experience_value")
    private Long experienceValue;
    private Date birthday;
    @TableField("last_login_time")
    private Date lastLoginTime;

}
